package network;

/**
 * @author fank
 * @date 2018/03/08
 */
public class SocketEnum {
    // 100以下常用，100以上自定义
    /**连接请求*/
    public static final int CONN = 1;
    /** 重连请求*/
    public static final int RECONN = 2;

    /**关闭连接消息**/
    public static final int closeConnI = -1;
    /**离开消息*/
    public static final int exitI = 0;
    /**连接消息*/
    public static final int connI = 1;
    /**重连消息*/
    public static final int reconnI = 2;
    /**info消息*/
    public static final int infoI = 3;
    /**进度条消息*/
    public static final int loadingI = 4;
    /**money消息*/
    public static final int moneyI = 5;
    /**时间消息*/
    public static final int timeI = 6;
    /**广播消息*/
    public static final int guangBoI = 7;

    //100-300为游戏消息头
    /**进入房间请求*/
    public static final int JOINROOM = 101;
    /**旋转请求*/
    public static final int BEGIN = 102;
    /**选择小游戏卡牌*/
    public static final int SELECT = 103;
    /**BONUS开始请求*/
    public static final int BONUSBEGIN = 104;

    /**进入房间回调*/
    public static final int joinRoomI = 101;
    /**桌子信息回调*/
    public static final int initDeskI = 102;
    /**游戏结果*/
    public static final int gameResult = 103;
    /**结算完成*/
    public static final int finishI = 104;
    /**游戏开局回调*/
    public static final int beginI = 105;
    /**开奖回调*/
    public static final int openI = 106;
    /**免费中奖总金额回调*/
    public static final int freeMoneyI = 108;
    /**BONUS开奖回调*/
    public static final int bonusOpenI = 109;
    /**结算回调*/
    public static final int jieSuanI = 110;

    //300-500为监控消息头
    public static final int DataMonitored_CONN = 300;
    public static final int DataMonitored_GETROOMLIST = 301;
    public static final int DataMonitored_GETDESKLIST = 302;
    public static final int DataMonitored_GETDESKINFO = 303;
    public static final int DataMonitored_GETPLAYERINFO = 304;
    public static final int DataMonitored_GETCONFIG = 305;
    public static final int DataMonitored_UPDATACONFIG = 306;
    public static final int DataMonitored_GETPOINTCONTROLLIST = 307;
    public static final int DataMonitored_ADDPOINTCONTROL = 308;
    public static final int DataMonitored_DELPOINTCONTROL = 309;
    public static final int DataMonitored_STARTDESK = 310;
    public static final int DataMonitored_CLOSEDESK = 311;
    public static final int DataMonitored_SENDGUANGBO = 314;
    public static final int DataMonitored_READDB = 315;
    public static final int DataMonitored_GETWAITINFO = 316;

    public static final int DataMonitored_connI = 300;
    public static final int DataMonitored_getRoomListI = 301;
    public static final int DataMonitored_getDeskListI = 302;
    public static final int DataMonitored_getDeskInfoI = 303;
    public static final int DataMonitored_getPlayerInfoI = 304;
    public static final int DataMonitored_getConfigI = 305;
    public static final int DataMonitored_getPointControlListI= 306;
    public static final int DataMonitored_getWaitInfoI = 308;


}
